package com.aaa.service.impl;

import com.aaa.dao.StateDaoImpl;
import com.aaa.entity.State;
import com.aaa.service.StateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StateServiceImpl implements StateService {
    @Autowired
    private StateDaoImpl stateDao;
    public List<State> listAll() {
        return stateDao.listAll();
    }
}
